package com.dragon.logical.service.auth;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dragon.repository.entity.DictsortDetail;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 类型键值表 服务类
 * </p>
 *
 * @author sy
 * @since 2023-06-27
 */
public interface IDictsortDetailService extends IService<DictsortDetail> {

    Page<DictsortDetail> selectPageList(String code,Integer page, Integer limit);

    Integer addDetail(DictsortDetail detail);

    void updateDetail(DictsortDetail detail);

    void deleteDetail(Integer id);

    void deleteBatchDetail(String ids);

    List<DictsortDetail> selectDictSortDetail(String code);

    DictsortDetail selectNameByCodeAndValue(String code, Integer value);
}
